package com.netease.f;

import java.io.OutputStream;

public class f
{
  protected String ad;
  protected String ae;

  public f(String paramString1, String paramString2)
  {
    this.ad = paramString1;
    this.ae = paramString2;
  }

  protected static String m(String paramString)
  {
    StringBuilder localStringBuilder = new StringBuilder();
    int i = 0;
    if (i < paramString.length())
    {
      switch (paramString.charAt(i))
      {
      default:
        localStringBuilder.append(paramString.charAt(i));
      case '&':
      case '<':
      case '>':
      case '"':
      case '\'':
      }
      while (true)
      {
        i++;
        break;
        localStringBuilder.append("&amp;");
        continue;
        localStringBuilder.append("&lt;");
        continue;
        localStringBuilder.append("&gt;");
        continue;
        localStringBuilder.append("&quot;");
        continue;
        localStringBuilder.append("&apos;");
      }
    }
    return localStringBuilder.toString();
  }

  public String A()
  {
    return this.ae;
  }

  public double a(double paramDouble)
  {
    if (this.ae != null);
    try
    {
      double d = Double.parseDouble(this.ae);
      paramDouble = d;
      label19: return paramDouble;
    }
    catch (Exception localException)
    {
      break label19;
    }
  }

  public float a(float paramFloat)
  {
    if (this.ae != null);
    try
    {
      float f = Float.parseFloat(this.ae);
      paramFloat = f;
      label17: return paramFloat;
    }
    catch (Exception localException)
    {
      break label17;
    }
  }

  public int a(int paramInt)
  {
    if (this.ae != null);
    try
    {
      int i = Integer.parseInt(this.ae);
      paramInt = i;
      label17: return paramInt;
    }
    catch (Exception localException)
    {
      break label17;
    }
  }

  public long a(long paramLong)
  {
    if (this.ae != null);
    try
    {
      long l = Long.parseLong(this.ae);
      paramLong = l;
      label19: return paramLong;
    }
    catch (Exception localException)
    {
      break label19;
    }
  }

  void b(OutputStream paramOutputStream)
  {
    if ((this.ae == null) || (this.ad == null));
    while (true)
    {
      return;
      g.a(paramOutputStream, "  ");
      paramOutputStream.write(this.ad.getBytes());
      g.a(paramOutputStream, "=\"");
      paramOutputStream.write(m(this.ae).getBytes());
      g.a(paramOutputStream, "\"");
    }
  }

  public boolean equals(Object paramObject)
  {
    boolean bool1 = true;
    f localf;
    boolean bool2;
    boolean bool3;
    if ((paramObject instanceof f))
    {
      localf = (f)paramObject;
      if (this.ad == null)
        if (localf.z() == null)
        {
          bool2 = bool1;
          if (this.ae != null)
            break label88;
          if (localf.A() != null)
            break label82;
          bool3 = bool1;
          label48: if ((!bool3) || (!bool2))
            break label104;
        }
    }
    while (true)
    {
      return bool1;
      bool2 = false;
      break;
      bool2 = this.ad.equals(localf.z());
      break;
      label82: bool3 = false;
      break label48;
      label88: bool3 = this.ae.equals(localf.A());
      break label48;
      label104: bool1 = false;
      continue;
      bool1 = false;
    }
  }

  public void g(String paramString)
  {
    this.ae = paramString;
  }

  public void l(String paramString)
  {
    this.ad = paramString;
  }

  public String toString()
  {
    StringBuilder localStringBuilder = new StringBuilder();
    localStringBuilder.append("  ");
    localStringBuilder.append(this.ad);
    localStringBuilder.append("=\"");
    localStringBuilder.append(m(this.ae));
    localStringBuilder.append("\"");
    return localStringBuilder.toString();
  }

  public String z()
  {
    return this.ad;
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.f.f
 * JD-Core Version:    0.6.0
 */